package com.graph.base;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface GraphInterface extends CommunityFinder{

	void clear();

	int getNumberOfEdges();

	int getNumberOfVertices();

	boolean isEmpty();

	boolean addEdge(String begin,String end);

	void addVertex(String vertexLabel);

	Map<String, VertexInterface> getVertices();

	boolean addEdge(String begin, String end, Integer edgeWeight);

	Set<VertexInterface> getNeighbors(VertexInterface aim);

	List<VertexInterface> getVerticesList();

	Boolean isContain(List<Set<VertexInterface>> list, Set<VertexInterface> set1);
	
	void initStandAnswer(String[] split);
}
